package com.rz.paas.baselib.netRequest.request

import android.content.Context
import com.rz.paas.baselib.netRequest.response.JsonCallback


interface IHttpRequest  {

    fun  <T>  post(
        context: Context?,
        params: Map<String, Any?>?,
        url: String?,
        cache: Boolean,
        callback: JsonCallback<T>
    )

    fun <T>   get(
        context: Context?,
        params: Map<String, Any?>?,
        url: String?,
        cache: Boolean,
        callback: JsonCallback<T>
    )


}
